package com.payment.system.domain;

import com.payment.common.annotation.Excel;
import com.payment.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 光谷订单对账表 sys_order_gg
 * 
 * @author payment
 * @date 2019-09-18
 */
public class OrderGg extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键id */
	private Long id;
	/** 订单创建时间 */
	@Excel(name = "订单创建时间")
	private String insertTime;
	/** 通道编号 */
	@Excel(name = "通道编号")
	private String acqCode;
	/** 通道名称 */
	@Excel(name = "通道名称")
	private String acqName;
	/** 上游用户id */
	@Excel(name = "上游用户id")
	private String acqUserId;
	/** 上游订单编号 */
	@Excel(name = "上游订单编号")
	private String acqOrderId;
	/** 订单编号 */
	@Excel(name = "订单编号")
	private String orderId;
	/** 商户名称 */
	@Excel(name = "商户名称")
	private String userName;
	/** 身份证号 */
	@Excel(name = "身份证号")
	private String idCard;
	/** 银行卡号 */
	@Excel(name = "银行卡号")
	private String bankNumber;
	/** 交易金额 */
	@Excel(name = "交易金额")
	private BigDecimal orderAmount;
	/** 交易费率 */
	@Excel(name = "交易费率")
	private BigDecimal payRate;
	/** 交易笔数费 */
	@Excel(name = "交易笔数费")
	private BigDecimal payPro;
	/** 订单状态 */
	@Excel(name = "订单状态")
	private String orderStatus;
	/** 0消费，1出款 */
	private Integer orderType;
	private String  bankName;

	public void setId(Long id) 
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}
	public void setInsertTime(String insertTime) 
	{
		this.insertTime = insertTime;
	}

	public String getInsertTime() 
	{
		return insertTime;
	}
	public void setAcqCode(String acqCode) 
	{
		this.acqCode = acqCode;
	}

	public String getAcqCode() 
	{
		return acqCode;
	}
	public void setAcqName(String acqName) 
	{
		this.acqName = acqName;
	}

	public String getAcqName() 
	{
		return acqName;
	}
	public void setAcqUserId(String acqUserId) 
	{
		this.acqUserId = acqUserId;
	}

	public String getAcqUserId() 
	{
		return acqUserId;
	}
	public void setAcqOrderId(String acqOrderId) 
	{
		this.acqOrderId = acqOrderId;
	}

	public String getAcqOrderId() 
	{
		return acqOrderId;
	}
	public void setOrderId(String orderId) 
	{
		this.orderId = orderId;
	}

	public String getOrderId() 
	{
		return orderId;
	}
	public void setUserName(String userName) 
	{
		this.userName = userName;
	}

	public String getUserName() 
	{
		return userName;
	}
	public void setIdCard(String idCard) 
	{
		this.idCard = idCard;
	}

	public String getIdCard() 
	{
		return idCard;
	}
	public void setBankNumber(String bankNumber) 
	{
		this.bankNumber = bankNumber;
	}

	public String getBankNumber() 
	{
		return bankNumber;
	}
	public void setOrderAmount(BigDecimal orderAmount) 
	{
		this.orderAmount = orderAmount;
	}

	public BigDecimal getOrderAmount() 
	{
		return orderAmount;
	}
	public void setPayRate(BigDecimal payRate) 
	{
		this.payRate = payRate;
	}

	public BigDecimal getPayRate() 
	{
		return payRate;
	}
	public void setPayPro(BigDecimal payPro) 
	{
		this.payPro = payPro;
	}

	public BigDecimal getPayPro() 
	{
		return payPro;
	}
	public void setOrderStatus(String orderStatus) 
	{
		this.orderStatus = orderStatus;
	}

	public String getOrderStatus() 
	{
		return orderStatus;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("insertTime", getInsertTime())
            .append("acqCode", getAcqCode())
            .append("acqName", getAcqName())
            .append("acqUserId", getAcqUserId())
            .append("acqOrderId", getAcqOrderId())
            .append("orderId", getOrderId())
            .append("userName", getUserName())
            .append("idCard", getIdCard())
            .append("bankNumber", getBankNumber())
            .append("orderAmount", getOrderAmount())
            .append("payRate", getPayRate())
            .append("payPro", getPayPro())
            .append("orderStatus", getOrderStatus())
            .toString();
    }

	public Integer getOrderType() {
		return orderType;
	}

	public void setOrderType(Integer orderType) {
		this.orderType = orderType;
	}

	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}
}
